GoXam for WPF v3
DoNodeKeyChanged Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : DoNodeKeyChanged Method
This should be called when a node data's key value may have changed.
Syntax
public void DoNodeKeyChanged( 
   NodeType nodedata
)

Parameters

nodedata
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If a node data object implements System.ComponentModel.INotifyPropertyChanged and if the key is a simple property on the data as reflected by the value of NodeKeyPath, the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindKeyForNode has changed.

This raises a Changed event with a value of ModelChange.ChangedNodeKey.

See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members